3.74 \(\int \frac {(e+f x^2)^{3/2}}{(a+b x^2) (c+d x^2)^{3/2}} \, dx\)

Optimal. Leaf size=224 \[ \frac {e^{3/2} \sqrt {c+d x^2} (b e-a f) \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a c \sqrt {f} \sqrt {e+f x^2} (b c-a d) \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}-\frac {\sqrt {e+f x^2} (d e-c f) E\left (\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {c f}{d e}\right )}{\sqrt {c} \sqrt {d} \sqrt {c+d x^2} (b c-a d) \sqrt {\frac {c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}} \]

[Out]

e^(3/2)*(-a*f+b*e)*(1/(1+f*x^2/e))^(1/2)*(1+f*x^2/e)^(1/2)*EllipticPi(x*f^(1/2)/e^(1/2)/(1+f*x^2/e)^(1/2),1-b*
e/a/f,(1-d*e/c/f)^(1/2))*(d*x^2+c)^(1/2)/a/c/(-a*d+b*c)/f^(1/2)/(e*(d*x^2+c)/c/(f*x^2+e))^(1/2)/(f*x^2+e)^(1/2
)-(-c*f+d*e)*(1/(1+d*x^2/c))^(1/2)*(1+d*x^2/c)^(1/2)*EllipticE(x*d^(1/2)/c^(1/2)/(1+d*x^2/c)^(1/2),(1-c*f/d/e)
^(1/2))*(f*x^2+e)^(1/2)/(-a*d+b*c)/c^(1/2)/d^(1/2)/(d*x^2+c)^(1/2)/(c*(f*x^2+e)/e/(d*x^2+c))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.11, antiderivative size = 224, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.094, Rules used = {542, 539, 411} \[ \frac {e^{3/2} \sqrt {c+d x^2} (b e-a f) \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a c \sqrt {f} \sqrt {e+f x^2} (b c-a d) \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}-\frac {\sqrt {e+f x^2} (d e-c f) E\left (\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {c f}{d e}\right )}{\sqrt {c} \sqrt {d} \sqrt {c+d x^2} (b c-a d) \sqrt {\frac {c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}} \]

Antiderivative was successfully verified.

[In]

Int[(e + f*x^2)^(3/2)/((a + b*x^2)*(c + d*x^2)^(3/2)),x]

[Out]

-(((d*e - c*f)*Sqrt[e + f*x^2]*EllipticE[ArcTan[(Sqrt[d]*x)/Sqrt[c]], 1 - (c*f)/(d*e)])/(Sqrt[c]*Sqrt[d]*(b*c
- a*d)*Sqrt[c + d*x^2]*Sqrt[(c*(e + f*x^2))/(e*(c + d*x^2))])) + (e^(3/2)*(b*e - a*f)*Sqrt[c + d*x^2]*Elliptic
Pi[1 - (b*e)/(a*f), ArcTan[(Sqrt[f]*x)/Sqrt[e]], 1 - (d*e)/(c*f)])/(a*c*(b*c - a*d)*Sqrt[f]*Sqrt[(e*(c + d*x^2
))/(c*(e + f*x^2))]*Sqrt[e + f*x^2])

Rule 411

Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[(Sqrt[a + b*x^2]*EllipticE[ArcTan
[Rt[d/c, 2]*x], 1 - (b*c)/(a*d)])/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[(c*(a + b*x^2))/(a*(c + d*x^2))]), x] /;
FreeQ[{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]

Rule 539

Int[Sqrt[(c_) + (d_.)*(x_)^2]/(((a_) + (b_.)*(x_)^2)*Sqrt[(e_) + (f_.)*(x_)^2]), x_Symbol] :> Simp[(c*Sqrt[e +
 f*x^2]*EllipticPi[1 - (b*c)/(a*d), ArcTan[Rt[d/c, 2]*x], 1 - (c*f)/(d*e)])/(a*e*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sq
rt[(c*(e + f*x^2))/(e*(c + d*x^2))]), x] /; FreeQ[{a, b, c, d, e, f}, x] && PosQ[d/c]

Rule 542

Int[((e_) + (f_.)*(x_)^2)^(3/2)/(((a_) + (b_.)*(x_)^2)*((c_) + (d_.)*(x_)^2)^(3/2)), x_Symbol] :> Dist[(b*e -
a*f)/(b*c - a*d), Int[Sqrt[e + f*x^2]/((a + b*x^2)*Sqrt[c + d*x^2]), x], x] - Dist[(d*e - c*f)/(b*c - a*d), In
t[Sqrt[e + f*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && PosQ[d/c] && PosQ[f/e]

Rubi steps

\begin {align*} \int \frac {\left (e+f x^2\right )^{3/2}}{\left (a+b x^2\right ) \left (c+d x^2\right )^{3/2}} \, dx &=\frac {(b e-a f) \int \frac {\sqrt {e+f x^2}}{\left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx}{b c-a d}-\frac {(d e-c f) \int \frac {\sqrt {e+f x^2}}{\left (c+d x^2\right )^{3/2}} \, dx}{b c-a d}\\ &=-\frac {(d e-c f) \sqrt {e+f x^2} E\left (\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {c f}{d e}\right )}{\sqrt {c} \sqrt {d} (b c-a d) \sqrt {c+d x^2} \sqrt {\frac {c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}}+\frac {e^{3/2} (b e-a f) \sqrt {c+d x^2} \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a c (b c-a d) \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 1.52, size = 492, normalized size = 2.20 \[ \frac {\sqrt {\frac {d}{c}} \left (i a^2 c f^2 \sqrt {\frac {d x^2}{c}+1} \sqrt {\frac {f x^2}{e}+1} \Pi \left (\frac {b c}{a d};i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )+i b^2 c e^2 \sqrt {\frac {d x^2}{c}+1} \sqrt {\frac {f x^2}{e}+1} \Pi \left (\frac {b c}{a d};i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )+a b d e^2 x \sqrt {\frac {d}{c}}+i a \sqrt {\frac {d x^2}{c}+1} \sqrt {\frac {f x^2}{e}+1} \left (b e (2 c f-d e)-a c f^2\right ) F\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )+a b d e f x^3 \sqrt {\frac {d}{c}}-i a b e \sqrt {\frac {d x^2}{c}+1} \sqrt {\frac {f x^2}{e}+1} (c f-d e) E\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )-2 i a b c e f \sqrt {\frac {d x^2}{c}+1} \sqrt {\frac {f x^2}{e}+1} \Pi \left (\frac {b c}{a d};i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )-a b c e f x \sqrt {\frac {d}{c}}-a b c f^2 x^3 \sqrt {\frac {d}{c}}\right )}{a b d \sqrt {c+d x^2} \sqrt {e+f x^2} (a d-b c)} \]

Antiderivative was successfully verified.

[In]

Integrate[(e + f*x^2)^(3/2)/((a + b*x^2)*(c + d*x^2)^(3/2)),x]

[Out]

(Sqrt[d/c]*(a*b*d*Sqrt[d/c]*e^2*x - a*b*c*Sqrt[d/c]*e*f*x + a*b*d*Sqrt[d/c]*e*f*x^3 - a*b*c*Sqrt[d/c]*f^2*x^3
- I*a*b*e*(-(d*e) + c*f)*Sqrt[1 + (d*x^2)/c]*Sqrt[1 + (f*x^2)/e]*EllipticE[I*ArcSinh[Sqrt[d/c]*x], (c*f)/(d*e)
] + I*a*(-(a*c*f^2) + b*e*(-(d*e) + 2*c*f))*Sqrt[1 + (d*x^2)/c]*Sqrt[1 + (f*x^2)/e]*EllipticF[I*ArcSinh[Sqrt[d
/c]*x], (c*f)/(d*e)] + I*b^2*c*e^2*Sqrt[1 + (d*x^2)/c]*Sqrt[1 + (f*x^2)/e]*EllipticPi[(b*c)/(a*d), I*ArcSinh[S
qrt[d/c]*x], (c*f)/(d*e)] - (2*I)*a*b*c*e*f*Sqrt[1 + (d*x^2)/c]*Sqrt[1 + (f*x^2)/e]*EllipticPi[(b*c)/(a*d), I*
ArcSinh[Sqrt[d/c]*x], (c*f)/(d*e)] + I*a^2*c*f^2*Sqrt[1 + (d*x^2)/c]*Sqrt[1 + (f*x^2)/e]*EllipticPi[(b*c)/(a*d
), I*ArcSinh[Sqrt[d/c]*x], (c*f)/(d*e)]))/(a*b*d*(-(b*c) + a*d)*Sqrt[c + d*x^2]*Sqrt[e + f*x^2])

________________________________________________________________________________________

fricas [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x^2+e)^(3/2)/(b*x^2+a)/(d*x^2+c)^(3/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (f x^{2} + e\right )}^{\frac {3}{2}}}{{\left (b x^{2} + a\right )} {\left (d x^{2} + c\right )}^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x^2+e)^(3/2)/(b*x^2+a)/(d*x^2+c)^(3/2),x, algorithm="giac")

[Out]

integrate((f*x^2 + e)^(3/2)/((b*x^2 + a)*(d*x^2 + c)^(3/2)), x)

________________________________________________________________________________________

maple [B]  time = 0.03, size = 630, normalized size = 2.81 \[ \frac {\left (-\sqrt {-\frac {d}{c}}\, a b c \,f^{2} x^{3}+\sqrt {-\frac {d}{c}}\, a b d e f \,x^{3}+\sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, a^{2} c \,f^{2} \EllipticF \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )-\sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, a^{2} c \,f^{2} \EllipticPi \left (\sqrt {-\frac {d}{c}}\, x , \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )-\sqrt {-\frac {d}{c}}\, a b c e f x +\sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, a b c e f \EllipticE \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )-2 \sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, a b c e f \EllipticF \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )+2 \sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, a b c e f \EllipticPi \left (\sqrt {-\frac {d}{c}}\, x , \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )+\sqrt {-\frac {d}{c}}\, a b d \,e^{2} x -\sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, a b d \,e^{2} \EllipticE \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )+\sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, a b d \,e^{2} \EllipticF \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )-\sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}\, b^{2} c \,e^{2} \EllipticPi \left (\sqrt {-\frac {d}{c}}\, x , \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )\right ) \sqrt {d \,x^{2}+c}\, \sqrt {f \,x^{2}+e}}{\sqrt {-\frac {d}{c}}\, \left (a d -b c \right ) \left (d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e \right ) a b c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f*x^2+e)^(3/2)/(b*x^2+a)/(d*x^2+c)^(3/2),x)

[Out]

(-x^3*a*b*c*f^2*(-1/c*d)^(1/2)+x^3*a*b*d*e*f*(-1/c*d)^(1/2)+EllipticF((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a^2*c*
f^2*((d*x^2+c)/c)^(1/2)*((f*x^2+e)/e)^(1/2)-2*EllipticF((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a*b*c*e*f*((d*x^2+c)
/c)^(1/2)*((f*x^2+e)/e)^(1/2)+EllipticF((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a*b*d*e^2*((d*x^2+c)/c)^(1/2)*((f*x^
2+e)/e)^(1/2)+EllipticE((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a*b*c*e*f*((d*x^2+c)/c)^(1/2)*((f*x^2+e)/e)^(1/2)-El
lipticE((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a*b*d*e^2*((d*x^2+c)/c)^(1/2)*((f*x^2+e)/e)^(1/2)-EllipticPi((-1/c*d
)^(1/2)*x,1/a*b*c/d,(-1/e*f)^(1/2)/(-1/c*d)^(1/2))*a^2*c*f^2*((d*x^2+c)/c)^(1/2)*((f*x^2+e)/e)^(1/2)+2*Ellipti
cPi((-1/c*d)^(1/2)*x,1/a*b*c/d,(-1/e*f)^(1/2)/(-1/c*d)^(1/2))*a*b*c*e*f*((d*x^2+c)/c)^(1/2)*((f*x^2+e)/e)^(1/2
)-EllipticPi((-1/c*d)^(1/2)*x,1/a*b*c/d,(-1/e*f)^(1/2)/(-1/c*d)^(1/2))*b^2*c*e^2*((d*x^2+c)/c)^(1/2)*((f*x^2+e
)/e)^(1/2)-x*a*b*c*e*f*(-1/c*d)^(1/2)+x*a*b*d*e^2*(-1/c*d)^(1/2))*(d*x^2+c)^(1/2)*(f*x^2+e)^(1/2)/b/c/a/(-1/c*
d)^(1/2)/(a*d-b*c)/(d*f*x^4+c*f*x^2+d*e*x^2+c*e)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (f x^{2} + e\right )}^{\frac {3}{2}}}{{\left (b x^{2} + a\right )} {\left (d x^{2} + c\right )}^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x^2+e)^(3/2)/(b*x^2+a)/(d*x^2+c)^(3/2),x, algorithm="maxima")

[Out]

integrate((f*x^2 + e)^(3/2)/((b*x^2 + a)*(d*x^2 + c)^(3/2)), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (f\,x^2+e\right )}^{3/2}}{\left (b\,x^2+a\right )\,{\left (d\,x^2+c\right )}^{3/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e + f*x^2)^(3/2)/((a + b*x^2)*(c + d*x^2)^(3/2)),x)

[Out]

int((e + f*x^2)^(3/2)/((a + b*x^2)*(c + d*x^2)^(3/2)), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (e + f x^{2}\right )^{\frac {3}{2}}}{\left (a + b x^{2}\right ) \left (c + d x^{2}\right )^{\frac {3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x**2+e)**(3/2)/(b*x**2+a)/(d*x**2+c)**(3/2),x)

[Out]

Integral((e + f*x**2)**(3/2)/((a + b*x**2)*(c + d*x**2)**(3/2)), x)

________________________________________________________________________________________